<template>
	<view class="homeLayout pageBg">
		<custom-nav-bar title="首页"></custom-nav-bar>
		<view class="banner">
			<swiper circular indicator-dots indicator-color="rgba(255,255,255,0.5)" indicator-active-color="#fff"
				autoplay>
				<swiper-item>
					<image src="/static/nongda.png" mode="aspectFill"></image>
				</swiper-item>
				<swiper-item>
					<image src="/static/user.png" mode="aspectFill"></image>
				</swiper-item>
				<swiper-item>
					<image src="/static/user.png" mode="aspectFill"></image>
				</swiper-item>
			</swiper>
		</view>

	</view>
</template>

<script setup>

</script>

<style lang="scss" scoped>
	.homeLayout {
		.banner {
			width: 750rpx;
			padding: 30rpx 0;

			swiper {
				width: 750rpx;
				height: 340rpx;

				&-item {
					width: 100%;
					height: 100%;

					image {
						width: 100%;
						height: 100%;
						border-radius: 10rpx;
					}
				}
			}
		}
	}
</style>